#pragma once
#include "GLFW/glfw3.h"
#include "CoordinateSystemShader.h"

class MovingLocationShader : public CoordinateSystemShader
{
  public:
    MovingLocationShader(const string& vertexShaderSource,
                         const string& fragmentShaderSource)
        : CoordinateSystemShader(vertexShaderSource, fragmentShaderSource)
        
    {
    }

    virtual mat4 createModelMatrix() override;

    

    /**
     * 设置模型在世界坐标系中的位置（偏移量）
     */
    void setTransactionVector(vec3 trans) { transactionVec = trans; }

  protected:
    vec3 transactionVec;

};